using System.ComponentModel.DataAnnotations;

namespace UserManagementService.DTOs;

/// <summary>
/// 添加组织成员DTO
/// </summary>
public class AddOrganizationMemberDto
{
    /// <summary>
    /// 用户ID
    /// </summary>
    [Required]
    public Guid UserId { get; set; }

    /// <summary>
    /// 组织ID
    /// </summary>
    [Required]
    public Guid OrganizationId { get; set; }

    /// <summary>
    /// 职位
    /// </summary>
    public string Position { get; set; }

    /// <summary>
    /// 是否为管理者
    /// </summary>
    public bool IsManager { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remarks { get; set; }
}